home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / SecalDemo / Inc / graphics / displayinfo.inc < prev    next >
Text File  |  1998-06-24  |  3KB  |  127 lines

  1. include "inc/exec/types.inc";
  2. include "inc/graphics/gfx.inc";
  3. include "inc/graphics/monitor.inc";
  4. include "inc/graphics/modeid.inc";
  5. include "inc/utility/tagitem.inc";
  6.  
  7. def DTAG_DISP = $80000000;
  8. def DTAG_DIMS = $80001000;
  9. def DTAG_MNTR = $80002000;
  10. def DTAG_NAME = $80003000;
  11. def DTAG_VEC = $80004000;
  12.  
  13. struct QueryHeader is
  14.   StructID:ulong;
  15.   DisplayID:ulong;
  16.   SkipID:ulong;
  17.   Length:ulong;
  18. ;
  19.  
  20. struct DisplayInfo is
  21.   Header:QueryHeader;
  22.   NotAvailable:uword;
  23.   PropertyFlags:ulong;
  24.   Resolution:Point;
  25.   PixelSpeed:uword;
  26.   NumStdSprites:uword;
  27.   PaletteRange:uword;
  28.   SpriteResolution:Point;
  29.   pad[4]:ubyte;
  30.   RedBits:ubyte;
  31.   GreenBits:ubyte;
  32.   BlueBits:ubyte;
  33.   pad2[5]:ubyte;
  34.   reserved[2]:ulong;
  35. ;
  36.  
  37. def DI_AVAIL_NOCHIPS = $0001;
  38. def DI_AVAIL_NOMONITOR = $0002;
  39. def DI_AVAIL_NOTWITHGENLOCK = $0004;
  40.  
  41. def DIPF_IS_LACE = $00000001;
  42. def DIPF_IS_DUALPF = $00000002;
  43. def DIPF_IS_PF2PRI = $00000004;
  44. def DIPF_IS_HAM = $00000008;
  45.  
  46. def DIPF_IS_ECS = $00000010;
  47.  
  48. def DIPF_IS_AA = $00010000;
  49.  
  50. def DIPF_IS_PAL = $00000020;
  51. def DIPF_IS_SPRITES = $00000040;
  52. def DIPF_IS_GENLOCK = $00000080;
  53.  
  54. def DIPF_IS_WB = $00000100;
  55. def DIPF_IS_DRAGGABLE = $00000200;
  56. def DIPF_IS_PANELLED = $00000400;
  57. def DIPF_IS_BEAMSYNC = $00000800;
  58.  
  59. def DIPF_IS_EXTRAHALFBRITE = $00001000;
  60.  
  61. def DIPF_IS_SPRITES_ATT = $00002000;
  62. def DIPF_IS_SPRITES_CHNG_RES = $00004000;
  63. def DIPF_IS_SPRITES_BORDER = $00008000;
  64. def DIPF_IS_SCANDBL = $00020000;
  65. def DIPF_IS_SPRITES_CHNG_BASE = $00040000;
  66.  
  67. def DIPF_IS_SPRITES_CHNG_PRI = $00080000;
  68.  
  69. def DIPF_IS_DBUFFER = $00100000;
  70. def DIPF_IS_PROGBEAM = $00200000;
  71. def DIPF_IS_FOREIGN = $80000000;
  72.  
  73. struct DimensionInfo is
  74.   Header:QueryHeader;
  75.   MaxDepth:uword;
  76.   MinRasterWidth:uword;
  77.   MinRasterHeight:uword;
  78.   MaxRasterWidth:uword;
  79.   MaxRasterHeight:uword;
  80.   Nominal:Rectangle;
  81.   MaxOScan:Rectangle;
  82.   VideoOScan:Rectangle;
  83.   TxtOScan:Rectangle;
  84.   StdOScan:Rectangle;
  85.   pad[14]:ubyte;
  86.   reserved[2]:ulong;
  87. ;
  88.  
  89. struct MonitorInfo is
  90.   Header:QueryHeader;
  91.   Mspc:ulong;
  92.   ViewPosition:Point;
  93.   ViewResolution:Point;
  94.   ViewPositionRange:Rectangle;
  95.   TotalRows:uword;
  96.   TotalColorClocks:uword;
  97.   MinRow:uword;
  98.   Compatibility:word;
  99.   pad[32]:ubyte;
  100.   MouseTicks:Point;
  101.   DefaultViewPosition:Point;
  102.   PreferredModeID:ulong;
  103.   reserved[2]:ulong;
  104. ;
  105.  
  106. def MCOMPAT_MIXED = 0;
  107. def MCOMPAT_SELF = 1;
  108. def MCOMPAT_NOBODY = -1;
  109.  
  110. def DISPLAYNAMELEN = 32;
  111.  
  112. struct NameInfo is
  113.   Header:QueryHeader;
  114.   Name[32]:ubyte;
  115.   reserved[2]:ulong;
  116. ;
  117.  
  118. struct VecInfo is
  119.   Header:QueryHeader;
  120.   Vec:ulong;
  121.   Data:ulong;
  122.   Type:uword;
  123.   pad[3]:uword;
  124.   reserved[2]:ulong;
  125. ;
  126.  
  127.